<%@ page language="java" import="org.apache.commons.lang.StringUtils" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="up7.XDebug" %>
<%@ page import="up7.biz.up7_biz_event" %>
<%@ page import="up7.database.*" %>
<%
    out.clear();
    /*
        更新记录：
            2023-03-01 创建
    */

    String uid 		= request.getParameter("uid");
    String id		= request.getParameter("id");
    String callback = request.getParameter("callback");//jsonp

    //返回值。1表示成功
    int ret = 0;
    if ( !StringUtils.isBlank(uid) &&
            !StringUtils.isBlank(id))
    {
        ret = 1;

        //触发事件
        up7_biz_event.file_post_complete(id);
    }
    XDebug.Output("文件上传完毕");
%><%=callback + "(" + ret + ")"%>